package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the YZR_PHARMACY database table.
 * 
 */
@Entity
@Table(name="YZR_PHARMACY")
@NamedQuery(name="YzrPharmacy.findAll", query="SELECT y FROM YzrPharmacy y")
public class YzrPharmacy implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	/*@SequenceGenerator(allocationSize=1,name="YZR_PHARMACY_PHARMACYID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_PHARMACY_PHARMACYID_GENERATOR")*/
	@Column(name="PHARMACY_ID")
	private String pharmacyId;

	@Column(name="PHARMACY_ADDRESS")
	private String pharmacyAddress;

	@Column(name="PHARMACY_FUZEREN")
	private BigDecimal pharmacyFuzeren;

	@Column(name="PHARMACY_NAME")
	private String pharmacyName;

	public YzrPharmacy() {
	}

	public YzrPharmacy(String pharmacyId, String pharmacyAddress, BigDecimal pharmacyFuzeren, String pharmacyName) {
		super();
		this.pharmacyId = pharmacyId;
		this.pharmacyAddress = pharmacyAddress;
		this.pharmacyFuzeren = pharmacyFuzeren;
		this.pharmacyName = pharmacyName;
	}

	public String getPharmacyId() {
		return this.pharmacyId;
	}

	public void setPharmacyId(String pharmacyId) {
		this.pharmacyId = pharmacyId;
	}

	public String getPharmacyAddress() {
		return this.pharmacyAddress;
	}

	public void setPharmacyAddress(String pharmacyAddress) {
		this.pharmacyAddress = pharmacyAddress;
	}

	public BigDecimal getPharmacyFuzeren() {
		return this.pharmacyFuzeren;
	}

	public void setPharmacyFuzeren(BigDecimal pharmacyFuzeren) {
		this.pharmacyFuzeren = pharmacyFuzeren;
	}

	public String getPharmacyName() {
		return this.pharmacyName;
	}

	public void setPharmacyName(String pharmacyName) {
		this.pharmacyName = pharmacyName;
	}

}